package cn.tedu.douguo.user.pojo.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

/**
* 菜谱制作步骤表
* @TableName cms_recipe_step
*/
@TableName(value ="cms_recipe_step")
@Data
@Accessors(chain = true)
public class RecipeStep implements Serializable {

    /**
    * 步骤id
    */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
    * 菜谱id
    */
    @TableField(value = "recipe_id")
    private Long recipeId;
    /**
    * 步骤图片路径
    */
    private String image;
    /**
    * 步骤正文
    */
    private String content;


}
